import React, { Component } from "react";
import store from "./store/transit";
export default class Page2 extends Component {
    render() {
         const proList = store.getState().pro.proList
        return <>
        
            <h1>Page2 </h1>
              <ol>
                {proList && proList.map((item) => {
                    return <li key={item.proid}>{item.proname}</li>
                })}
            </ol>
        </>
    }
}